#ifndef __USART1_H__
#define __USART1_H__

#include "Usart_config.h"

#if USE_USART1

void Usart1_init();
void Usart1_send_byte(uint8_t data);
void Usart1_send_data(uint8_t *data, uint32_t len);
void Usart1_send_string(char *data);

#if USART1_RECV_CALLBACK
extern void Usart1_on_recv(uint8_t *data, uint32_t len);
#endif

#endif

#endif